﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GUI/Vista/MasterPage.Master" AutoEventWireup="true" CodeBehind="GestionResultado.aspx.cs" Inherits="ApuestasJMG.GUI.Vista.GestionResultado" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <style type="text/css">
        .style1
        {
            width: 144px;
        }
        .style2
        {
            width: 141px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<table style="margin:1px 0px 1px 1px">
       <tr><td colspan=2 align="left"><a  style=" padding-left:90px">Gestor De Resultado</a></td></tr>
        
       <tr><td  align="left"><a style=" padding-left:90px">Evento a generar resultado</a></td>
      <td> <a><asp:Label 
               ID="Label1" runat="server" Text="Label"></asp:Label>

           </a></td></tr>
           <tr><td align="left"><a style=" padding-left:90px">
               <asp:Label ID="Label2" runat="server" Text="Posiciones a Colocar"></asp:Label></a></td>
               
               <td>
                   <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label></td>
               </tr>

            <tr>
            <td  colspan="2" class="style1" style="padding-top:10px">
        
              
        
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    Width="418px" EnableViewState="false" AllowPaging="True" PageSize="5" ShowFooter="False" DataKeyNames ="IdParticipante" OnPageIndexChanging="GridView1_PageIndexChanging" 
                    onselectedindexchanged="GridView1_SelectedIndexChanged" 
                    style="margin-bottom: 0px">
               
                <Columns>
                      <asp:TemplateField>
                                
                            </asp:TemplateField>
                            <asp:BoundField DataField="Id_HistorialParticipante" HeaderText="Identificador" 
                            SortExpression="Id_HistorialParticipante"  />
                            <asp:BoundField DataField="NombreParticipante" HeaderText="Nombre Participante" 
                            SortExpression="NombreParticipante"  />
                                                              
                                 <asp:TemplateField HeaderText="Resultado" SortExpression="Tope">

<EditItemTemplate>

<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Tope") %>'></asp:TextBox>

</EditItemTemplate>

<ItemStyle HorizontalAlign="Center" />

<ItemTemplate>

&nbsp;<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Tope") %>' Width="41px"></asp:TextBox>

</ItemTemplate>

</asp:TemplateField>



                
               
                            
                      </Columns> 
               
               
                </asp:GridView>
        
              
        
            </tr>



        <tr><td style=" padding-left:130px; padding-top:10px">
            
            
            <asp:Button ID="Button1" runat="server" Text="Aceptar" 
                onclick="Button1_Click" />
            
            
            </td>
            
            <td style=" padding-center:130px; padding-top:10px" class="style2">
            
            
                <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Volver" />
            
            
            </td>
            </tr>
        
    </table>





</asp:Content>
